//
//  DataBaseHandle.h
//  B
//
//  Created by Sunpeng on 15/11/16.
//  Copyright © 2015年 wangzhan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MyCollectModel.h"
@interface DataBaseHandle : NSObject
+(instancetype)ShareDataBaseHandle;
-(void)openDB;
-(void)createImageCollect;
-(void)deleteImageTable;
-(void)insertImageTable:(NSString *)pic and:(NSString *)text;
-(NSMutableArray *)selectImageCollectWithText;
-(NSMutableArray *)selectAllImageCollect;
-(void)deleteImageCollectTable:(MyCollectModel *)collectM;
-(void)insertImageTable:(NSString *)pic and:(NSString *)text and:(NSString *)idStr and:(NSString *)typeStr and:(NSString *)index and:(NSInteger)count;
@end
